﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tauren.Business.Entity.Global;

namespace Tauren.Business.Entity.Output
{
    public class Employee_OutPut 
    {

        public virtual int EmpId { get; set; }
        /// <summary>
        /// 中文名
        /// </summary>
        public virtual string CNName { get; set; }

        /// <summary>
        /// 英文名
        /// </summary>
        public virtual string ENName { get; set; }
        /// <summary>
        /// 员工编码
        /// </summary>
        public virtual string EmpCode { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public virtual string Email { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public virtual string Phone { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public virtual string OrgId { get; set; }

        /// <summary>
        /// 职位ID
        /// </summary>
        public virtual string PositionId { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public virtual int UnitInfoId { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public virtual string Gender { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public virtual string Age { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public virtual string IdCard { get; set; }

        /// <summary>
        /// 状态,0-删除，1-在职 ，2-离职，3-停职
        /// </summary>
        public virtual int Status { get; set; }

        /// <summary>
        /// 汇报人
        /// </summary>
        public virtual int Repoter { get; set; }

        public virtual DateTime? BirthDay { get; set; }

        public virtual DateTime? JoinDate { get; set; }

        public virtual string Address { get; set; }
        /// <summary>
        /// 启用？
        /// </summary>
        public virtual bool Enable { get; set; }
        /// <summary>
        /// 顺序
        /// </summary>
        public virtual double Sequence { get; set; }

        public virtual bool HaveDelete { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public virtual int Creator { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public virtual int Modifier { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public virtual DateTime? Creatdate { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public virtual DateTime? Modifdate { get; set; }
        /// <summary>
        /// 创建人显示名
        /// </summary>
        public virtual string Dic_Creator { get; set; }

        /// <summary>
        /// 修改人显示名
        /// </summary>
        public virtual string Dic_Modifier { get; set; }
        /// <summary>
        /// 创建日期-显示
        /// </summary>
        public virtual string Dic_Creatdate { get; set; }
        /// <summary>
        /// 修改日期-显示
        /// </summary>
        public virtual string Dic_Modifdate { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public virtual string OrgName { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        public virtual string PosName { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitInfoName { get; set; }

        /// <summary>
        /// 汇报人的中文名
        /// </summary>
        public string Dic_ReportName { get; set; }
        public virtual List<PersonInfo_OutPut> Reporters { get; set; } = new List<PersonInfo_OutPut>();
        public virtual List<Parttimeinfo_OutPut> PartJob { get; set; } = new List<Parttimeinfo_OutPut>();
    }
    public class PersonInfo_OutPut : PersonInfo
    {
        public string DicOnParttime { get; set; }
    }
}
